package com.mall.shop.entity;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.util.Date;

/**
 * 采购信息(Purchase)表实体类
 *
 * @author 龙茶清欢
 * @since 2023-01-15 13:48:06
 */
@Getter
@Setter
@TableName("wms_purchase")
@Schema(name = "采购信息实体", description = "采购信息映射")
public class Purchase implements Serializable {
    private static final long serialVersionUID = -79930801284343940L;

    @TableId(value = "id" , type = IdType.AUTO)
    @Schema(description = "")
    private Long id;

    @TableField(value = "assignee_id")
    @Schema(description = "")
    private Long assigneeId;
    
    @TableField(value = "assignee_name")
    @Schema(description = "")
    private String assigneeName;
    
    @TableField(value = "phone")
    @Schema(description = "")
    private String phone;
    
    @TableField(value = "priority")
    @Schema(description = "")
    private Integer priority;
    
    @TableField(value = "status")
    @Schema(description = "")
    private Integer status;
    
    @TableField(value = "ware_id")
    @Schema(description = "")
    private Long wareId;
    
    @TableField(value = "amount")
    @Schema(description = "")
    private Double amount;
    
	@TableField(value = "create_time" , fill = FieldFill.INSERT)
    @Schema(description = "")
    private Date createTime;
    
	@TableField(value = "update_time" , fill = FieldFill.INSERT_UPDATE)
    @Schema(description = "")
    private Date updateTime;
    
}

